﻿<%@ Page Language="C#" MasterPageFile="~/Frame.Master" AutoEventWireup="true" Codebehind="fmCarBreakRuleManager.aspx.cs"
    Inherits="Auto.BusMan.fmCarBreakRuleManager" Title="违章记录" %>

<%@ Register Src="UserControl/ucPhraseDropDownList.ascx" TagName="ucPhraseDropDownList"
    TagPrefix="uc4" %>

<%@ Register Src="UserControl/ucDDLKeepDiv.ascx" TagName="ucDDLKeepDiv" TagPrefix="uc1" %>
<%@ Register Src="UserControl/ucDDLCarSelector.ascx" TagName="ucDDLCarSelector" TagPrefix="uc2" %>
<%@ Register Src="UserControl/ucDriverDDLSelector.ascx" TagName="ucDriverDDLSelector"
    TagPrefix="uc3" %>
<%@ Register Assembly="Auto.WebControls" Namespace="Auto.WebControls" TagPrefix="ComboBox" %>
<%@ Register Assembly="Auto.Web.Common" Namespace="Auto.Web.Common" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentMain" runat="server">
    <div class="TitleDivStyle">
        <asp:Label ID="Label1" runat="server" Text="违章记录"></asp:Label>
    </div>
    <table style="width: 100%">
        <tr>
            <td>
                <ComboBox:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
                    <ComboBox:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="违章记录">
                        <table border="0" cellspacing="1" cellpadding="0" class="borderStyle" style="width: 100%;
                            margin: 0 auto;">
                            <tr>
                                <td class="table_body">
                                    单位名称
                                </td>
                                <td class="table_none" nowrap="nowrap">
                                    <uc1:ucDDLKeepDiv ID="UcDDLKeepDiv1" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    车辆牌号
                                </td>
                                <td class="table_none" nowrap="nowrap">
                                    <uc2:ucDDLCarSelector ID="UcDDLCarSelector1" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body" nowrap="nowrap">
                                    驾驶员姓名
                                </td>
                                <td class="table_none" nowrap="nowrap">
                                    <uc3:ucDriverDDLSelector ID="UcDriverDDLSelector1" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    违章时间
                                </td>
                                <td class="table_none">
                                    <ComboBox:DateTextBox ID="txtBreakRuleTime" runat="server"></ComboBox:DateTextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtBreakRuleTime" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body" nowrap="nowrap" style="height: 22px">
                                    违章性质
                                </td>
                                <td class="table_none" nowrap="nowrap" style="height: 22px">
                                    <uc4:ucPhraseDropDownList ID="UcBreakRuleTypePhraseDropDownList" runat="server" PhraseClass="BMBreakRuleType" />
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body" nowrap="nowrap">
                                    违章地点
                                </td>
                                <td class="table_none" nowrap="nowrap">
                                    <asp:TextBox ID="txtBreakRuleLocation" runat="server" CssClass="textcommon"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtBreakRuleLocation" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body" nowrap="nowrap">
                                    违章记录情况
                                </td>
                                <td class="table_none" nowrap="nowrap">
                                    <asp:TextBox ID="txtBreakRuleNote" runat="server" CssClass="textcommon" 
                                        Height="67px" TextMode="MultiLine" Width="356px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body" nowrap="nowrap">
                                    罚款(元)
                                </td>
                                <td class="table_none" nowrap="nowrap">
                                    <asp:TextBox ID="txtForfeit" runat="server" CssClass="textcommon"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtForfeit" ErrorMessage="*"></asp:RequiredFieldValidator>
                                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="txtForfeit"
                                        ErrorMessage="*" Operator="DataTypeCheck" Type="Currency"></asp:CompareValidator></td>
                            </tr>
                            <tr id="checktr" runat="server">
                                <td>
                                </td>
                                <td>
                                    <asp:CheckBox ID="chkAddContinue" runat="server" Text="连续添加"></asp:CheckBox>&nbsp;[
                                    添加成功后直接跳回此页进行再次添加 ]
                                </td>
                            </tr>
                        </table>
                    </ComboBox:TabOptionItem>
                </ComboBox:TabOptionWebControls>
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:Button ID="btnSave" class="button_bak" runat="server" Text="保存" OnClick="btnSave_Click" />
                <input id="btnReset" class="button_bak" type="reset" value="重填" />
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:Label ID="lblMsg" runat="server" ForeColor="#0033CC"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
